.capture-template-container {
  border-bottom: 2px solid #5e348c;
  padding: 15px 5px;

  background-color: white;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.capture-template-container--dragging {
  background-color: #e6e6e6;
}

.capture-template-container__header {
  display: flex;
  align-items: center;

  color: #5e348c;
}

.capture-template-container__header__title {
  font-size: 20px;
  margin-left: -10px;

  max-width: calc(100% - 120px);
}

.capture-template-container__header__caret {
  margin-right: 15px;
  margin-left: 5px;

  transition-property: transform;
  transition-duration: 0.15s;
}

.capture-template-container__header__caret--rotated {
  transform: rotate(90deg);
}

.capture-template-container__header__drag-handle {
  margin-left: auto;
  margin-right: 20px;

  user-select: none;
}

.capture-template-container__content {
  margin-top: 10px;
}

.capture-template__field-container {
  margin-bottom: 5px;
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 5px;
}

.capture-template__field-container:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.capture-template__field {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.capture-template__help-text {
  color: gray;
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.capture-template__letter-textfield {
  width: 30px;
}

.capture-template__field__or-container {
  display: flex;
  align-items: center;
  justify-content: center;

  color: lightgray;
  font-size: 14px;

  margin-bottom: 5px;
}

.capture-template__field__or-line {
  width: 20px;
  height: 1px;
  background-color: #d8d8d8;
  margin-left: 10px;
  margin-right: 10px;
}

.multi-textfields-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.multi-textfield-container {
  width: 75%;
  margin-top: 5px;
  pdisplay: flex;
}

.multi-textfield-field {
  font-family: Courier;

  flex: 1;
}

.remove-multi-textfield-button {
  color: gray;
  border: 0;
  background-color: transparent;
}

.add-new-multi-textfield-button-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 5px;
  margin-right: 8px;
}

.add-new-multi-textfield-button {
  background-color: #5e348c;
  border: 0;
  color: white;
  width: 45px;
  height: 45px;
}

.template-textarea {
  border: 1px solid #d8d8d8;

  margin-top: 5px;
}

.capture-template__delete-button-container {
  display: flex;
  justify-content: center;
}

.capture-template__delete-button {
  background-color: #b90000;

  margin-top: 15px;
  margin-bottom: 0;
}
